@include('Api.common.header')
<div class="layui-row">
    <div class="layui-col-lg12">
        <fieldset class="layui-elem-field">
            <legend>用户列表 - 新增用户列表</legend>
            <div class="layui-field-box">
                <form class="layui-form" action="{{URL::action('Api\UserController@save')}}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户名</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name" placeholder="请输入用户列表名称" autocomplete="off"
                                   class="layui-input" lay-verify="required" lay-verType="tips">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">姓名</label>
                        <div class="layui-input-inline">
                            <input type="text" name="realname" placeholder="姓名" autocomplete="off"
                                   class="layui-input" lay-verify="" lay-verType="tips">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">openid</label>
                        <div class="layui-input-inline">
                            <input type="text" name="openid" placeholder="openid" autocomplete="off"
                                   class="layui-input" lay-verify="" lay-verType="tips">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">性别</label>
                        <div class="layui-input-inline">
                            <select name="sex">
                                <option value="1">男</option>
                                <option value="2">女</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">手机</label>
                        <div class="layui-input-inline">
                            <input type="text" name="mobile" placeholder="手机" autocomplete="off"
                                   class="layui-input" lay-verify="" lay-verType="tips">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </fieldset>
    </div>
</div>
<script type="text/javascript" src="/static/layui/layui.js"></script>
<script type="text/javascript" src="/static/backend/javascript/dw_form_submit.js"></script>
